#ifndef CONTACTITEM_H
#define CONTACTITEM_H

#include <QWidget>
#include <QLabel>
#include <QHBoxLayout>
#include "entity/contact.h"

class ContactItem : public QWidget
{
    Q_OBJECT
public:
    explicit ContactItem(const Contact &contact, QWidget *parent = nullptr);
    ~ContactItem();
    int getContactId();

private:
    int m_contactId;
    QLabel *m_avatarLabel;
    QLabel *m_nameLabel;
    QHBoxLayout *m_layout;

signals:
};

#endif // CONTACTITEM_H
